<!DOCTYPE html>



  


<html class="theme-next gemini use-motion" lang="zh-Hans">
<head><meta name="generator" content="Hexo 3.9.0">
  <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="theme-color" content="#222">



  
  
    
      
    
    
      
    
  <script src="//cdn.bootcss.com/pace/1.0.2/pace.min.js"></script>
  <link href="//cdn.bootcss.com/pace/1.0.2/themes/blue/pace-theme-flash.min.css" rel="stylesheet">







<meta http-equiv="Cache-Control" content="no-transform">
<meta http-equiv="Cache-Control" content="no-siteapp">
















  
  
    
  
  <link href="//cdn.jsdelivr.net/fancybox/2.1.5/jquery.fancybox.min.css" rel="stylesheet" type="text/css">







  

<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">

<link href="/css/main.css?v=" rel="stylesheet" type="text/css">


  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png?v=">


  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon.ico?v=">


  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon.ico?v=">


  <link rel="mask-icon" href="/images/logo.svg?v=" color="#222">





  <meta name="keywords" content="linux,虚拟机,">





  <link rel="alternate" href="/atom.xml" title="WhiteWater" type="application/atom+xml">






<meta name="description" content="#VMware虚拟机安装Centos7 一.虚拟机的介绍​          VMWare (Virtual Machine ware)是一个虚拟机软件，它可以使你在一台机器上同时运行二个或更多Windows、DOS、LINUX系统。“多启动”系统（Win10+Win7双系统）开机时只能选择其中一个运行，切换系统则需要重新启动机器。与之相比，VMWare在某种意义上可算是多系统“同时”运行。通过下">
<meta name="keywords" content="linux,虚拟机">
<meta property="og:type" content="article">
<meta property="og:title" content="VMware虚拟机安装Centos7">
<meta property="og:url" content="http://yuanww.cn/2019/12/23/VMware虚拟机安装Centos7/index.html">
<meta property="og:site_name" content="WhiteWater">
<meta property="og:description" content="#VMware虚拟机安装Centos7 一.虚拟机的介绍​          VMWare (Virtual Machine ware)是一个虚拟机软件，它可以使你在一台机器上同时运行二个或更多Windows、DOS、LINUX系统。“多启动”系统（Win10+Win7双系统）开机时只能选择其中一个运行，切换系统则需要重新启动机器。与之相比，VMWare在某种意义上可算是多系统“同时”运行。通过下">
<meta property="og:locale" content="zh-Hans">
<meta property="og:image" content="http://yuanww.cn/2019/12/23/VMware虚拟机安装Centos7/1577106901145.png">
<meta property="og:image" content="http://yuanww.cn/2019/12/23/VMware虚拟机安装Centos7/1577106432956.png">
<meta property="og:image" content="http://yuanww.cn/2019/12/23/VMware虚拟机安装Centos7/1577109011932.png">
<meta property="og:image" content="http://yuanww.cn/2019/12/23/VMware虚拟机安装Centos7/1577106618728.png">
<meta property="og:image" content="http://yuanww.cn/2019/12/23/VMware虚拟机安装Centos7/1577107096011.png">
<meta property="og:image" content="http://yuanww.cn/2019/12/23/VMware虚拟机安装Centos7/1577107114730.png">
<meta property="og:image" content="http://yuanww.cn/2019/12/23/VMware虚拟机安装Centos7/1577107217973.png">
<meta property="og:image" content="http://yuanww.cn/2019/12/23/VMware虚拟机安装Centos7/1577107272058.png">
<meta property="og:image" content="http://yuanww.cn/2019/12/23/VMware虚拟机安装Centos7/1577107325196.png">
<meta property="og:image" content="http://yuanww.cn/2019/12/23/VMware虚拟机安装Centos7/1577107343960.png">
<meta property="og:image" content="http://yuanww.cn/2019/12/23/VMware虚拟机安装Centos7/1577107490386.png">
<meta property="og:image" content="http://yuanww.cn/2019/12/23/VMware虚拟机安装Centos7/1577107525261.png">
<meta property="og:image" content="http://yuanww.cn/2019/12/23/VMware虚拟机安装Centos7/1577107601790.png">
<meta property="og:image" content="http://yuanww.cn/2019/12/23/VMware虚拟机安装Centos7/1577107623409.png">
<meta property="og:image" content="http://yuanww.cn/2019/12/23/VMware虚拟机安装Centos7/1577107802739.png">
<meta property="og:image" content="http://yuanww.cn/2019/12/23/VMware虚拟机安装Centos7/1577107902560.png">
<meta property="og:image" content="http://yuanww.cn/2019/12/23/VMware虚拟机安装Centos7/1577109551431.png">
<meta property="og:image" content="http://yuanww.cn/2019/12/23/VMware虚拟机安装Centos7/1577107918552.png">
<meta property="og:updated_time" content="2020-01-15T14:35:47.746Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="VMware虚拟机安装Centos7">
<meta name="twitter:description" content="#VMware虚拟机安装Centos7 一.虚拟机的介绍​          VMWare (Virtual Machine ware)是一个虚拟机软件，它可以使你在一台机器上同时运行二个或更多Windows、DOS、LINUX系统。“多启动”系统（Win10+Win7双系统）开机时只能选择其中一个运行，切换系统则需要重新启动机器。与之相比，VMWare在某种意义上可算是多系统“同时”运行。通过下">
<meta name="twitter:image" content="http://yuanww.cn/2019/12/23/VMware虚拟机安装Centos7/1577106901145.png">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Gemini',
    version: '',
    sidebar: {"position":"left","display":"post","offset":12,"b2t":false,"scrollpercent":false,"onmobile":false},
    fancybox: true,
    tabs: true,
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    duoshuo: {
      userId: '0',
      author: '博主'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="http://yuanww.cn/2019/12/23/VMware虚拟机安装Centos7/">





  <title>VMware虚拟机安装Centos7 | WhiteWater</title>
  





  <script type="text/javascript">
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "https://hm.baidu.com/hm.js?e46442d1930481b98d53762512c55bc1";
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
    })();
  </script>




</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">

  
  
    
  

  <div class="container sidebar-position-left page-post-detail">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/" class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">WhiteWater</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
      
        <p class="site-subtitle">Thirst most</p>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br>
            
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-about">
          <a href="/about/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-user"></i> <br>
            
            关于
          </a>
        </li>
      
        
        <li class="menu-item menu-item-tags">
          <a href="/tags/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-tags"></i> <br>
            
            标签
          </a>
        </li>
      
        
        <li class="menu-item menu-item-categories">
          <a href="/categories/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-th"></i> <br>
            
            分类
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/archives/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br>
            
            归档
          </a>
        </li>
      

      
    </ul>
  

  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yuanww.cn/2019/12/23/VMware虚拟机安装Centos7/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="ctrl">
      <meta itemprop="description" content>
      <meta itemprop="image" content="/images/bbb.gif">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="WhiteWater">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">VMware虚拟机安装Centos7</h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2019-12-23T22:30:56+08:00">
                2019-12-23
              </time>
            

            

            
          </span>

          
            <span class="post-category">
            
              <span class="post-meta-divider">|</span>
            
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/linux/" itemprop="url" rel="index">
                    <span itemprop="name">linux</span>
                  </a>
                </span>

                
                
              
            </span>
          

          
            
              <span class="post-comments-count">
                <span class="post-meta-divider">|</span>
                <span class="post-meta-item-icon">
                  <i class="fa fa-comment-o"></i>
                </span>
                <a href="/2019/12/23/VMware虚拟机安装Centos7/#comments" itemprop="discussionUrl">
                  <span class="post-comments-count valine-comment-count" data-xid="/2019/12/23/VMware虚拟机安装Centos7/" itemprop="commentCount"></span>
                </a>
              </span>
            
          

          
          
             <span id="/2019/12/23/VMware虚拟机安装Centos7/" class="leancloud_visitors" data-flag-title="VMware虚拟机安装Centos7">
               <span class="post-meta-divider">|</span>
               <span class="post-meta-item-icon">
                 <i class="fa fa-eye"></i>
               </span>
               
                 <span class="post-meta-item-text">阅读次数&#58;</span>
               
                 <span class="leancloud-visitors-count"></span>
             </span>
          

          
            <div class="post-wordcount">
              
                
                <span class="post-meta-item-icon">
                  <i class="fa fa-file-word-o"></i>
                </span>
                
                  <span class="post-meta-item-text">字数统计&#58;</span>
                
                <span title="字数统计">
                  1.3k
                </span>
              

              
                <span class="post-meta-divider">|</span>
              

              
                <span class="post-meta-item-icon">
                  <i class="fa fa-clock-o"></i>
                </span>
                
                  <span class="post-meta-item-text">阅读时长 &asymp;</span>
                
                <span title="阅读时长">
                  4
                </span>
              
            </div>
          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        <p>#VMware虚拟机安装Centos7</p>
<h2 id="一-虚拟机的介绍"><a href="#一-虚拟机的介绍" class="headerlink" title="一.虚拟机的介绍"></a>一.虚拟机的介绍</h2><p>​          VMWare (Virtual Machine ware)是一个虚拟机软件，它可以使你在一台机器上同时运行二个或更多Windows、DOS、LINUX系统。“多启动”系统（Win10+Win7双系统）开机时只能选择其中一个运行，切换系统则需要重新启动机器。与之相比，VMWare在某种意义上可算是多系统“同时”运行。通过下载安装VMware Workstation，相当于在Windows系统里再安装了一个Windows系统，而且它还可以像应用程序那样进行切换。每个虚拟机操作系统你都可以进行虚拟的分区、配置而不影响真实硬盘的数据，甚至可以通过网卡将几台虚拟机用网卡连接为一个局域网，极其方便。</p>
<h2 id="二-Cetnos7镜像的下载"><a href="#二-Cetnos7镜像的下载" class="headerlink" title="二.Cetnos7镜像的下载"></a>二.Cetnos7镜像的下载</h2><p>阿里云站点：<a href="http://mirrors.aliyun.com/centos/7/isos/x86_64/" target="_blank" rel="noopener">http://mirrors.aliyun.com/centos/7/isos/x86_64/</a></p>
<p>每个链接都包括了镜像文件的地址、类型及版本号等信息<br><a id="more"></a><br><img src="/2019/12/23/VMware虚拟机安装Centos7/1577106901145.png" alt="1577106901145"></p>
<p>进入阿里云站点，选择 <strong>CentOS-7-x86_64-DVD-1908.iso下载</strong></p>
<table>
<thead>
<tr>
<th style="text-align:left">各个版本的ISO镜像文件说明：</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">CentOS-7-x86_64-DVD-1908.iso</td>
<td>标准安装版（推荐）</td>
</tr>
<tr>
<td style="text-align:left">CentOS-7-x86_64-Everything-1908.iso</td>
<td>完整版，集成所有软件</td>
</tr>
<tr>
<td style="text-align:left">CentOS-7-x86_64-LiveGNOME-1908.iso</td>
<td>GNOME桌面版</td>
</tr>
<tr>
<td style="text-align:left">CentOS-7-x86_64-LiveKDE-1908.iso</td>
<td>KDE桌面版</td>
</tr>
<tr>
<td style="text-align:left">CentOS-7-x86_64-Minimal-1908.iso</td>
<td>精简版，自带的软件最少</td>
</tr>
<tr>
<td style="text-align:left">CentOS-7-x86_64-NetInstall-1908.iso</td>
<td>网络安装版（从网络安装）</td>
</tr>
</tbody>
</table>
<h2 id="三-VMware的安装"><a href="#三-VMware的安装" class="headerlink" title="三.VMware的安装"></a>三.VMware的安装</h2><p>VMware 有两个版本，分别是 VMware Workstation Pro 和 VMware Workstation Player。</p>
<ul>
<li>Player 是免费版本，只能用于非商业用途，适合个人学习。</li>
<li>Pro 是商业版本，功能最强大，付费以后才能使用。</li>
</ul>
<p>VMware Workstation Pro 下载地址链接<a href="https://pan.baidu.com/s/1_ElsqnaL4QppQvnJJbyMUw" target="_blank" rel="noopener">https://pan.baidu.com/s/1_ElsqnaL4QppQvnJJbyMUw</a> 提取码：r5li （下载得到的压缩包中含有 VMware 安装所需的秘钥，亲测有效，可放心使用）</p>
<blockquote>
<p>VMware 对计算机的硬件配置要求比较高，配置低了虚拟机会很慢，甚至不能运行。理论上，配置越高越好，现在主流的计算机配置都可以达到运行 VMware 的要求。</p>
</blockquote>
<p>​        由于 VMware 的安装过程比较简单，与安装普通软件无异，因此不再过多阐述。这里假设读者已经下载并已安装好 VMware，接下来直接开始使用 VMware 安装 Linux 系统。</p>
<h2 id="四-虚拟机的安装"><a href="#四-虚拟机的安装" class="headerlink" title="四.虚拟机的安装"></a>四.虚拟机的安装</h2><p>启动 VMware，进入其主界面，如图 一 所示。</p>
<p><img src="/2019/12/23/VMware虚拟机安装Centos7/1577106432956.png" alt="1577106432956"></p>
<p>​                                                          图一 -VMware主界面</p>
<p>点击“创建新的虚拟机”，进入虚拟机设置向导界面，如图 2二所示，这里建议初学者选择“典型（推荐）”。</p>
<p><img src="/2019/12/23/VMware虚拟机安装Centos7/1577109011932.png" alt="1577109011932"></p>
<p>​                                                    图二-虚拟机设置向导界面</p>
<p>点击“下一步”，进入“安装操作系统”界面，将已经下载好的 Linux 系统的映像文件（.iso 文件），如图 三所示。</p>
<p><img src="/2019/12/23/VMware虚拟机安装Centos7/1577106618728.png" alt="1577106618728"></p>
<p>​                                                    图三-安装客户机操作系统</p>
<p>继续“下一步”，进入“命名虚拟机”界面，给虚拟机起一个名字（如“CentOS 7”），然后单击“浏览”按钮，选择虚拟机系统安装文件的保存位置，如图 四 所示。</p>
<p><img src="/2019/12/23/VMware虚拟机安装Centos7/1577107096011.png" alt="1577107096011"></p>
<p>​                                                    图四-选择安装位置</p>
<p>单击”下一步”按钮，进入”指定磁盘容量”界面。默认虚拟硬盘大小为 20GB（虚拟硬盘会以文件形式存放在虚拟机系统安装目录中）。虚拟硬盘的空间可以根据需要调整大小，但不用担心其占用的空间，因为实际占用的空间还是以安装的系统大小而非此处划分的硬盘大小为依据的。</p>
<p><img src="/2019/12/23/VMware虚拟机安装Centos7/1577107114730.png" alt="1577107114730"></p>
<p>​                                                    图五-创建虚拟机向导</p>
<p>单机“下一步”按钮，这里，我们可以略做调整，单击”自定义硬件”按钮进入硬件调整界面。为了让虚拟机中的系统运行速度快一点，我们可以选择”内存”调整虚拟机内存大小，但是建议虚拟机内存不要超过宿主机内存的一半。如图六。</p>
<p><img src="/2019/12/23/VMware虚拟机安装Centos7/1577107217973.png" alt="1577107217973"></p>
<p>​                                                    图六-自定义硬件</p>
<p>硬盘配置设置完成后，点击图 七 中的“完成”按钮，就成功创建了一台虚拟机！VMware 会直接启动 Linux CentOS 系统，经过以上几步，我们就成功地用 VMware 虚拟机安装好了 Linux 系统。</p>
<p><img src="/2019/12/23/VMware虚拟机安装Centos7/1577107272058.png" alt="1577107272058"></p>
<h2 id="五-Centos的安装和配置"><a href="#五-Centos的安装和配置" class="headerlink" title="五.Centos的安装和配置"></a>五.Centos的安装和配置</h2><p>安装完成后启动虚拟机进入到该界面，选择第一个install Centos7 开始安装</p>
<p><img src="/2019/12/23/VMware虚拟机安装Centos7/1577107325196.png" alt="1577107325196"></p>
<p>接下来会进入到这个界面，耐心等待就好（大概两三分钟~~~）</p>
<p><img src="/2019/12/23/VMware虚拟机安装Centos7/1577107343960.png" alt="1577107343960"></p>
<p>之后进入到选择语言界面，往下拉选择中文，然后下一步</p>
<p><img src="/2019/12/23/VMware虚拟机安装Centos7/1577107490386.png" alt="1577107490386"></p>
<p>点击安装位置，选择磁盘，点击完成</p>
<p><img src="/2019/12/23/VMware虚拟机安装Centos7/1577107525261.png" alt="1577107525261"></p>
<p>下一步，点击开始安装</p>
<p><img src="/2019/12/23/VMware虚拟机安装Centos7/1577107601790.png" alt="1577107601790"></p>
<p>设置root密码，创建用户可以暂时忽略（有需要可以创建用户）</p>
<p><img src="/2019/12/23/VMware虚拟机安装Centos7/1577107623409.png" alt="1577107623409"></p>
<p>设置root密码，记住root密码，常用于远程连接虚拟机</p>
<p><img src="/2019/12/23/VMware虚拟机安装Centos7/1577107802739.png" alt="1577107802739"></p>
<p>安装完成，点击重启</p>
<p><img src="/2019/12/23/VMware虚拟机安装Centos7/1577107902560.png" alt="1577107902560"></p>
<p>进入系统界面，选择第一个，进入系统</p>
<p><img src="/2019/12/23/VMware虚拟机安装Centos7/1577109551431.png" alt="1577109551431"></p>
<p>输入设置好的root用户名和密码，登录成功，开始愉快的使用linux系统吧！</p>
<p><img src="/2019/12/23/VMware虚拟机安装Centos7/1577107918552.png" alt="1577107918552"></p>

      
    </div>
    
    
    
    <div>
      
        
<div class="my_post_copyright">
  <script src="//cdn.bootcss.com/clipboard.js/1.5.10/clipboard.min.js"></script>

  <!-- JS库 sweetalert 可修改路径 -->
  <script src="https://cdn.bootcss.com/jquery/2.0.0/jquery.min.js"></script>
  <script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
  <p><span>本文标题:</span><a href="/2019/12/23/VMware虚拟机安装Centos7/">VMware虚拟机安装Centos7</a></p>
  <p><span>文章作者:</span><a href="/" title="访问 ctrl 的个人博客">ctrl</a></p>
  <p><span>发布时间:</span>2019年12月23日 - 22:12</p>
  <p><span>最后更新:</span>2020年01月15日 - 22:01</p>
  <p><span>原始链接:</span><a href="/2019/12/23/VMware虚拟机安装Centos7/" title="VMware虚拟机安装Centos7">http://yuanww.cn/2019/12/23/VMware虚拟机安装Centos7/</a>
    <span class="copy-path" title="点击复制文章链接"><i class="fa fa-clipboard" data-clipboard-text="http://yuanww.cn/2019/12/23/VMware虚拟机安装Centos7/" aria-label="复制成功！"></i></span>
  </p>
  <p><span>许可协议:</span><i class="fa fa-creative-commons"></i> <a rel="license" href="https://creativecommons.org/licenses/by-nc-nd/4.0/" target="_blank" title="Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0)">署名-非商业性使用-禁止演绎 4.0 国际</a> 转载请保留原文链接及作者。</p>
</div>
<script>
    var clipboard = new Clipboard('.fa-clipboard');
    $(".fa-clipboard").click(function(){
      clipboard.on('success', function(){
        swal({
          title: "",
          text: '复制成功',
          icon: "success",
          showConfirmButton: true
          });
    });
    });
</script>


      
    </div>

    

    <div>
      
        <div>
    
        <br>
        <div style="text-align:center;color: #ccc;font-size:30px;">-------------本文结束<i class="fa fa-paw"></i>感谢您的阅读-------------</div>
    
</div>

      
    </div>

    

    

    <footer class="post-footer">
      
        <div class="post-tags">
          
            <a href="/tags/linux/" rel="tag"><i class="fa fa-tag"></i> linux</a>
          
            <a href="/tags/虚拟机/" rel="tag"><i class="fa fa-tag"></i> 虚拟机</a>
          
        </div>
      

      
      
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/2019/12/27/linux下安装和配置jdk/" rel="prev" title="linux下安装和配置jdk">
                linux下安装和配置jdk <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </div>
  
  
  
  </article>



    <div class="post-spread">
      
        
  <div class="bdsharebuttonbox">
    <a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a>
    <a href="#" class="bds_douban" data-cmd="douban" title="分享到豆瓣网"></a>
    <a href="#" class="bds_sqq" data-cmd="sqq" title="分享到QQ好友"></a>
    <a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a>
    <a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a>
    <a href="#" class="bds_tieba" data-cmd="tieba" title="分享到百度贴吧"></a>
    <a href="#" class="bds_twi" data-cmd="twi" title="分享到Twitter"></a>
    <a href="#" class="bds_fbook" data-cmd="fbook" title="分享到Facebook"></a>
    <a href="#" class="bds_more" data-cmd="more"></a>
    <a class="bds_count" data-cmd="count"></a>
  </div>
  <script>
    window._bd_share_config = {
      "common": {
        "bdText": "",
        "bdMini": "2",
        "bdMiniList": false,
        "bdPic": ""
      },
      "share": {
        "bdSize": "16",
        "bdStyle": "0"
      },
      "image": {
        "viewList": ["tsina", "douban", "sqq", "qzone", "weixin", "twi", "fbook"],
        "viewText": "分享到：",
        "viewSize": "16"
      }
    }
  </script>

<script>
  with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];
</script>

      
    </div>
  </div>


          </div>
          


          

  
    <div class="comments" id="comments">
    </div>
  



        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap">
            文章目录
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview-wrap">
            站点概览
          </li>
        </ul>
      

      <section class="site-overview-wrap sidebar-panel">
        <div class="site-overview">
          <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
            
              <img class="site-author-image" itemprop="image" src="/images/bbb.gif" alt="ctrl">
            
              <p class="site-author-name" itemprop="name">ctrl</p>
              <p class="site-description motion-element" itemprop="description">毕业时长两年半的CV工程师</p>
          </div>

          <nav class="site-state motion-element">

            
              <div class="site-state-item site-state-posts">
              
                <a href="/archives/">
              
                  <span class="site-state-item-count">20</span>
                  <span class="site-state-item-name">日志</span>
                </a>
              </div>
            

            
              
              
              <div class="site-state-item site-state-categories">
                <a href="/categories/index.html">
                  <span class="site-state-item-count">7</span>
                  <span class="site-state-item-name">分类</span>
                </a>
              </div>
            

            
              
              
              <div class="site-state-item site-state-tags">
                <a href="/tags/index.html">
                  <span class="site-state-item-count">13</span>
                  <span class="site-state-item-name">标签</span>
                </a>
              </div>
            

          </nav>

          
            <div class="feed-link motion-element">
              <a href="/atom.xml" rel="alternate">
                <i class="fa fa-rss"></i>
                RSS
              </a>
            </div>
          

          
            <div class="links-of-author motion-element">
                
                  <span class="links-of-author-item">
                    <a href="https://github.com/yuan2658" target="_blank" title="GitHub">
                      
                        <i class="fa fa-fw fa-github"></i>GitHub</a>
                  </span>
                
            </div>
          

          
          

          
          
            <div class="links-of-blogroll motion-element links-of-blogroll-block">
              <div class="links-of-blogroll-title">
                <i class="fa  fa-fw fa-link"></i>
                Links
              </div>
              <ul class="links-of-blogroll-list">
                
                  <li class="links-of-blogroll-item">
                    <a href="https://juejin.im" title="掘金" target="_blank">掘金</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://www.zhihu.com" title="知乎" target="_blank">知乎</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="http://www.spring4all.com" title="Spring For All" target="_blank">Spring For All</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://www.v2ex.com" title="印记中文" target="_blank">印记中文</a>
                  </li>
                
              </ul>
            </div>
          

          

        </div>
      </section>

      
      <!--noindex-->
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
              
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-2"><a class="nav-link" href="#一-虚拟机的介绍"><span class="nav-number">1.</span> <span class="nav-text">一.虚拟机的介绍</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#二-Cetnos7镜像的下载"><span class="nav-number">2.</span> <span class="nav-text">二.Cetnos7镜像的下载</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#三-VMware的安装"><span class="nav-number">3.</span> <span class="nav-text">三.VMware的安装</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#四-虚拟机的安装"><span class="nav-number">4.</span> <span class="nav-text">四.虚拟机的安装</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#五-Centos的安装和配置"><span class="nav-number">5.</span> <span class="nav-text">五.Centos的安装和配置</span></a></li></ol></div>
            

          </div>
        </section>
      <!--/noindex-->
      

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright">&copy; 2018 &mdash; <span itemprop="copyrightYear">2020</span>
  <span class="with-love">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">ctrl</span>

  
    <span class="post-meta-divider">|</span>
    <span class="post-meta-item-icon">
      <i class="fa fa-area-chart"></i>
    </span>
    
      <span class="post-meta-item-text">站点字数总计&#58;</span>
    
    <span title="站点字数总计">19.6k</span>

  <script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
        <span class="post-meta-divider">|</span>
        <span class="post-meta-item-icon"><i class="fa fa-eye"></i></span>
        总访问量：<span id="busuanzi_value_site_pv"></span>次
        <span class="post-meta-divider">|</span>
        <span class="post-meta-item-icon"><i class="fa fa-user"></i></span>
        总访客：<span id="busuanzi_value_site_uv"></span>人
  
  

  
</div>




 <!--

<div class="powered-by">由 <a class="theme-link" target="_blank" href="https://hexo.io">Hexo</a> 强力驱动</div>



  <span class="post-meta-divider">|</span>



  <div class="theme-info">主题 &mdash; <a class="theme-link" target="_blank" href="https://github.com/iissnan/hexo-theme-next">NexT.Gemini</a> v</div>



-->

        
<div class="busuanzi-count">
  <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>

  

  
</div>








        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    

    

  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  












  
  
    <script type="text/javascript" src="//cdn.jsdelivr.net/jquery/2.1.3/jquery.min.js"></script>
  

  
  
    <script type="text/javascript" src="//cdn.jsdelivr.net/fastclick/1.0.6/fastclick.min.js"></script>
  

  
  
    <script type="text/javascript" src="//cdn.jsdelivr.net/jquery.lazyload/1.9.3/jquery.lazyload.min.js"></script>
  

  
  
    <script type="text/javascript" src="//cdn.jsdelivr.net/velocity/1.2.3/velocity.min.js"></script>
  

  
  
    <script type="text/javascript" src="//cdn.jsdelivr.net/velocity/1.2.3/velocity.ui.min.js"></script>
  

  
  
    <script type="text/javascript" src="//cdn.jsdelivr.net/fancybox/2.1.5/jquery.fancybox.pack.js"></script>
  


  


  <script type="text/javascript" src="/js/src/utils.js?v="></script>

  <script type="text/javascript" src="/js/src/motion.js?v="></script>



  
  


  <script type="text/javascript" src="/js/src/affix.js?v="></script>

  <script type="text/javascript" src="/js/src/schemes/pisces.js?v="></script>



  
  <script type="text/javascript" src="/js/src/scrollspy.js?v="></script>
<script type="text/javascript" src="/js/src/post-details.js?v="></script>



  


  <script type="text/javascript" src="/js/src/bootstrap.js?v="></script>



  


  




	





  





  










  <script src="//cdn1.lncld.net/static/js/3.0.4/av-min.js"></script>
  <script src="//unpkg.com/valine/dist/Valine.min.js"></script>
  
  <script type="text/javascript">
    var GUEST = ['nick','mail','link'];
    var guest = 'nick,mail,link';
    guest = guest.split(',').filter(item=>{
      return GUEST.indexOf(item)>-1;
    });
    new Valine({
        el: '#comments' ,
        verify: false,
        notify: false,
        appId: 'x7eMnnknw8DLXiaQHKGDXYth-gzGzoHsz',
        appKey: 'Vj1vJImPLhxvGJIpsiDppAGm',
        placeholder: 'ヾﾉ≧∀≦)o来啊，快活啊!',
        avatar:'mm',
        guest_info:guest,
        pageSize:'10' || 10,
    });
  </script>



  





  

  
  <script src="https://cdn1.lncld.net/static/js/av-core-mini-0.6.4.js"></script>
  <script>AV.initialize("x7eMnnknw8DLXiaQHKGDXYth-gzGzoHsz", "Vj1vJImPLhxvGJIpsiDppAGm");</script>
  <script>
    function showTime(Counter) {
      var query = new AV.Query(Counter);
      var entries = [];
      var $visitors = $(".leancloud_visitors");

      $visitors.each(function () {
        entries.push( $(this).attr("id").trim() );
      });

      query.containedIn('url', entries);
      query.find()
        .done(function (results) {
          var COUNT_CONTAINER_REF = '.leancloud-visitors-count';

          if (results.length === 0) {
            $visitors.find(COUNT_CONTAINER_REF).text(0);
            return;
          }

          for (var i = 0; i < results.length; i++) {
            var item = results[i];
            var url = item.get('url');
            var time = item.get('time');
            var element = document.getElementById(url);

            $(element).find(COUNT_CONTAINER_REF).text(time);
          }
          for(var i = 0; i < entries.length; i++) {
            var url = entries[i];
            var element = document.getElementById(url);
            var countSpan = $(element).find(COUNT_CONTAINER_REF);
            if( countSpan.text() == '') {
              countSpan.text(0);
            }
          }
        })
        .fail(function (object, error) {
          console.log("Error: " + error.code + " " + error.message);
        });
    }

    function addCount(Counter) {
      var $visitors = $(".leancloud_visitors");
      var url = $visitors.attr('id').trim();
      var title = $visitors.attr('data-flag-title').trim();
      var query = new AV.Query(Counter);

      query.equalTo("url", url);
      query.find({
        success: function(results) {
          if (results.length > 0) {
            var counter = results[0];
            counter.fetchWhenSave(true);
            counter.increment("time");
            counter.save(null, {
              success: function(counter) {
                var $element = $(document.getElementById(url));
                $element.find('.leancloud-visitors-count').text(counter.get('time'));
              },
              error: function(counter, error) {
                console.log('Failed to save Visitor num, with error message: ' + error.message);
              }
            });
          } else {
            var newcounter = new Counter();
            /* Set ACL */
            var acl = new AV.ACL();
            acl.setPublicReadAccess(true);
            acl.setPublicWriteAccess(true);
            newcounter.setACL(acl);
            /* End Set ACL */
            newcounter.set("title", title);
            newcounter.set("url", url);
            newcounter.set("time", 1);
            newcounter.save(null, {
              success: function(newcounter) {
                var $element = $(document.getElementById(url));
                $element.find('.leancloud-visitors-count').text(newcounter.get('time'));
              },
              error: function(newcounter, error) {
                console.log('Failed to create');
              }
            });
          }
        },
        error: function(error) {
          console.log('Error:' + error.code + " " + error.message);
        }
      });
    }

    $(function() {
      var Counter = AV.Object.extend("Counter");
      if ($('.leancloud_visitors').length == 1) {
        addCount(Counter);
      } else if ($('.post-title-link').length > 1) {
        showTime(Counter);
      }
    });
  </script>



  

  
<script>
(function(){
    var bp = document.createElement('script');
    var curProtocol = window.location.protocol.split(':')[0];
    if (curProtocol === 'https') {
        bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';        
    }
    else {
        bp.src = 'http://push.zhanzhang.baidu.com/push.js';
    }
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(bp, s);
})();
</script>


  
  

  

  

  

<script src="/live2dw/lib/L2Dwidget.min.js?094cbace49a39548bed64abff5988b05"></script><script>L2Dwidget.init({"pluginRootPath":"live2dw/","pluginJsPath":"lib/","pluginModelPath":"assets/","model":{"jsonPath":"/live2dw/assets/wanko.model.json"},"display":{"position":"right","width":150,"height":300},"mobile":{"show":false},"log":false,"tagMode":false});</script></body>
</html>
